<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags" %>

<section class="interact-detail wj-interact-detail {{# if (share.comments.length <= 0 && share.forwards.length <= 0 && share.likes.length <= 0 ) { }}wj-interact-details-none{{# } }}">
   	<jsp:include page="forwardAndLike.jsp" />
    
   	{{# if (share.comments.length > 0) { }}
    {{# for(var j = 0, len1 = share.comments.length; j < len1; j++){var comment = share.comments[j], from =
    comment.from; }}
    <p class="txt-l" msgId="{{comment.msgId}}">
        <a uid="{{from.id}}" href="<c:url value='/u/{{from.id}}.do' />">{{from.name}}</a>{{# if (comment.refer) { }}<spring:message code="reply"/><a
            uid="{{comment.to.id}}" href="">{{comment.to.name}}</a>{{# } }}:
        {{comment.text}}
        {{# if (from.id != Page.getUser().id) { }}
        <i class="iconfont">&#xe601;</i>
        {{# } else { }}
        <i class="iconfont delete hid">&#xe619;</i>
        {{# }}}
    </p>
    {{# }}}
	{{# }}}
<%--     <p class="txt-l comment"><spring:message code="inputComment"/>...</p> --%>
</section>

